<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="../static/js/jquery-3.js"></script>
    <script type="text/javascript">
        var basePath = "[[@{/}]]";
        console.log(basePath);
        $(function () {
            $("#submit").click(function () {
                var pageBean = {
                   /* state:$("#title").val(),*/
                    currenPage:$("#nowPage").val(),
                    size:$("#nowPageSize").val()
                };
                console.log(pageBean);

                $.ajax({
                    url:basePath+"asme/me",
                    type:"POST",
                    contentType:"application/json",
                    data:JSON.stringify(pageBean),
                        success:function (data) {
                            if(null != data){
                                console.log(data);
                            }
                        }

                })

            });
        })
    </script>
</head>
<body>
    <div>
        <div>
            文章状态：<input type="text" id="title">
        </div>
        <div>
            当前页：<input type="number" id="nowPage">
        </div>
        <div>
            当前页数量：<input type="number" id="nowPageSize">
        </div>
        <div>
            <input type="submit" id="submit" value="提交">
        </div>
    </div>
</body>
</html>